package com.anneespeciale.modele;

public abstract class Question {
	
	/* Attributs */
	
	protected int _num;
	protected String _reponse;
	protected String _theme;
	
	/* Getter et Setter */
	
	public int get_num() {
		return _num;
	}
	
	public void set_num(int num) {
		_num = num;
	}

	public String get_reponse() {
		return _reponse;
	}

	public void set_reponse(String reponse) {
		_reponse = reponse;
	}
	
	public String get_theme() {
		return _theme;
	}

	public void set_theme(String theme) {
		_theme = theme;
	}
	
	/* Afficher le contenu d'une question */
	public String toString() {
		return "Question : identifiant "+_num+"\t reponse "+_reponse+"\t " +
				"identifiant theme "+_theme;
	}
}
